home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / buttonicon.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-02-07  |  1.3 KB  |  68 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. #ifndef BUTTONICON_H
  8. #define BUTTONICON_H
  9.  
  10. #include <QDialog>
  11.  
  12. class QGridLayout;
  13. class QHBoxLayout;
  14. class QVBoxLayout;
  15. class QComboBox;
  16. class QGroupBox;
  17. class QSlider;
  18. class QPushButton;
  19. class QLabel;
  20.  
  21. #include "scribusapi.h"
  22.  
  23. class PageItem;
  24.  
  25. class SCRIBUS_API ButtonIcon : public QDialog
  26.     Q_OBJECT
  27.  
  28. public:
  29.     ButtonIcon(QWidget* parent, PageItem* ite);
  30.     ~ButtonIcon() {};
  31.  
  32.     QLabel* TextLabel1_2;
  33.     QComboBox* Place;
  34.     QLabel* TextLabel1;
  35.     QComboBox* ScaleW;
  36.     QLabel* TextLabel2;
  37.     QComboBox* ScaleH;
  38.     QGroupBox* GroupButton;
  39.     QLabel* TextLabel3;
  40.     QSlider* SliderX;
  41.     QSlider* SliderY;
  42.     QPushButton* OK;
  43.     QPushButton* Cancel;
  44.     QPushButton* Reset;
  45.     PageItem* Item;
  46.     int IcPlace;
  47.     int IcScaleW;
  48.     int IcScaleH;
  49.     qreal IcPlaceX;
  50.     qreal IcPlaceY;
  51.  
  52. private slots:
  53.     void MoveIconY(int y);
  54.     void MoveIconX(int x);
  55.     void SetAllVals();
  56.     void SetScaleHow(int s);
  57.  
  58. protected:
  59.     QVBoxLayout* ButtonIconLayout;
  60.     QGridLayout* Layout1;
  61.     QHBoxLayout* Layout5;
  62.     QGridLayout* Layout3;
  63.     QHBoxLayout* Layout4;
  64. };
  65.  
  66. #endif // BUTTONICON_H
  67.